package cn.zhuama.user.mapper;

import cn.zhuama.user.domain.Logininfo;
import cn.zhuama.basic.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Wilson
 * @since 2025-03-23
 */
@Repository
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo selectByUsernameAndType(Logininfo accDto);

    Logininfo selectByUserId(Long userId);

    void updateDisableById(Long logininfo_id);
}
